Adapting integration tests to pervious changes in API