changing tests according to naming changes in the API