Fixed the SchedulesTest test suite