Unit testing cron exec module.
Merge pull request #9330 from cachedout/ps-unit-tests

Unit testing cron exec module.