Fix failing tests

Fixed some tests that failed due to changing the clone-behavior of entity Job.