Moved crontab_test from test/ to src/
Refactored tests