job mgr unit tests