Added tests to query_parser gem