Added add schedules unit tests.