Test for week and group query on bucket