1576 | Subhas | Enhanced spec for scheduler

So that in future developers can follow the same style for testing the scheduled jobs...