added tests for cron jobs