Add tests for calendar.