Added GROUP BY integration test