Unit tests for QueryLexer