[TESTS] Fix test bug in SimpleValidateQueryTests.