tests for day ranges