fixing QueryValidatorTestCase