Testing for stability based on the empirical characteristic funstion with applications to financial data