add tests for ScheduleForm