wrote tests for calendar-directive