ENG-4096: add test cases; use ParsedColInfo not groupbyExprs in ParsedSelectStmt to find the right index.