More test cases for parser, range queries, phrase queries, mandatory/optional, local params