Adjust query test.