tests for calendar