add unit tests for parallel cronjobs run