Added test case TestSchedules
Refactored STATE class member
Added code to fail TestSchedules test case