Add ImageSchedule unit tests