Write tests for ical.