improves integration test