Added code to pass test_set_schedule_attrs
Implemented Schedule.__del__