[#3] Fix for query_test.py