check parameters

In order to catch calling errors in tests while developing instead of
once per week/month/year when the cron is actually executed, check time
aguments here.

Also provide tests for those checks.