Add unit test for cron taskscheduler
Add unit test for cron taskscheduler and when task is active (with jobs prepared) => is not active