error return of crontab_parser
rearrange code
add some tests