add cron tests for cron attributes and negative tests.