updated integration test