Add testing for cron plugin