Move Job class around
Make the thread pool + test suite more robust