Added testing of query parser.