Added unit test (calendar-related logic)