some tests
group by added