cron: fix tests