CAL-861 unit test for calendars in rest-api