Fixing flaky test SedaStageWorkRejectionTestCase