Properly use sinon to mock and stub where appropriate.
Bugfix on vacant sched, fleshed out tests for Scheduler Registry.