Testing procedures based on empiciral characteristic functions II: k-sample problem, change point problem