added tests for startOfDay and startOfWeek