Fixing auto purge cron that was not being created properly
Updating tests
Merge pull request #418 from x-team/issue-412

Fixing auto purge cron that was not being created properly