changes in tests according to api changes