fix bug
add tests for the jobExecutionManager