add test for event group by week