anchor.diff:  mock_handlers(Workers, Manager) ->
       test_utils:mock_new(Workers, [workflow_test_handler, workflow_engine_callback_handler]),
   
  -    MockTemplateWithDelay = fun(HandlerCallReport, PassthroughArgs, DelayFun) ->
  +    MockTemplateWithDelayOrFail = fun(HandlerCallReport, PassthroughArgs, DelayFun, OnFailFun) ->
           Manager ! {handler_call, self(), HandlerCallReport},
           receive
               history_saved ->
                   meck:passthrough(PassthroughArgs);
               fail_call ->
  +                OnFailFun(),
                   error;
               delay_call ->
                   DelayFun(),
  
positive.code:             % (wrong type of context is used by caller)
              throw(wrong_context);
          (ExecutionId, Context, LaneId) ->
              MockTemplateWithDelay(
                  #handler_call{
                      function = prepare_lane,
                      execution_id = ExecutionId,
  
negative.code:     end,
  
      MockTemplate = fun(HandlerCallReport, PassthroughArgs) ->
          MockTemplateWithDelayOrFail(HandlerCallReport, PassthroughArgs, fun() -> ok end, fun() -> ok end)
      end,
  
      test_utils:mock_expect(Workers, workflow_test_handler, prepare_lane, fun
  