Preventing the creation date and the creator of resources from being null.
Fixed cron job trigger test

fixes #222