Add test coverage around operation cancellation setting the error and invoking the failure block. refs #941