Remove useless in test_no_query