Add a test for the getCalendarDateRange utility function