Fix bug in test_query.get_example_requests