Fixed syntax error in queries/tests.py