fixed error in integration test