Added useful helpers to the testing framework [ci skip]
Added a method to check valid cron