Working on more tests for the cron jobs and agent running code