cleaned up some tests.
moved jobcontroller to a blocking collection
Cleaned up JobController.