CC-5651: Unit Test the Scheduler

Small fix to runtests script