added tests for Statistics.groupDataByWeek