tests for query-parser