fixing integration test error