Added cron script and some additionala tests