add tests example to resource_cron