Update testcase for "groupBy" option