Added a job state transitions test