Fix compiler warning, add one more negative QueryParserTest for trailing comma