Added untested query parser.
Added simple test for the ParseQuery