Moved CompletedJob into a first order class
Made more things in RunningJob synchronized
Removed a duplicate declaration of the junit dependency
Intermediary state