Source test for jobmanager

Source test for jobmanager