Issue #29 write unit test of Scheduler controler