added test for group by clause, ref #90