Add test for rolling time period
Add test for invalid ranges