Improving search integration tests in terms of scoping