unit tests prototype for JobDispatcher added.