Add spec for restoring job on exception