added test for calendar