CC-5651: Unit Test the Scheduler

* Mock config for database connections