fix integrationt tests due to api changes to clients api.