This recently introduced new test (FINERACT-926) would locally pass, but then fail on the next run, because another test in the same class would modify job state to be inactive. It now sets the first jobs state as it requires it to be, and properly awaits the expected outcome.