anchor.diff:  
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
  +-ifdef(MEGACO_TEST_CODE).
  +megaco_test_code() ->
  +    ok.
  +-else.
  +megaco_test_code() ->
  +    exit({skip, "Included only if compiled with USE_MEGACO_TEST_CODE=true"}).
  +-endif.
  +
  +
  +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  +
   p(F, A) ->
       io:format("*** [~s] ~p ***"
   	      "~n   " ++ F ++ "~n", 
  
positive.code: %% having received the first pending (which
  %% indicates that the other side _IS_ 
  %% working on the request).
  -ifdef(MEGACO_TEST_CODE).
  
  init_request_timer({short, Ref}) ->
      {long, Ref};  
  init_request_timer(O) ->
      O.
  
  -endif.
  
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
negative.code: %% This test case can only be run with the stack compiled with
  %% the MEGACO_TEST_CODE flag. Therefor there is no point in 
  %% including this test case in the usual test suite
  sent_resend_late_reply(suite) ->
      [];
  sent_resend_late_reply(doc) ->
      "...";
  sent_resend_late_reply(Config) when is_list(Config) ->
      Cond = fun megaco_test_code/0,
      Pre  = fun() ->
                     put(tc, ?FUNCTION_NAME),
                     MgcNode = make_node_name(pl_5619_mgc),
                     MgNode  = make_node_name(pl_5619_mg),
                     i("try start nodes: "
                       "~n      MgcNode: ~p"
                       "~n      MgNode:  ~p", 
                       [MgcNode, MgNode]),
                     Nodes = [MgcNode, MgNode],
                     ok = ?START_NODES(Nodes, true),
                     #{nodes => Nodes}
             end,
      Case = fun(State) ->
                     do_sent_resend_late_reply(State)
             end,
      Post = fun(#{nodes := Nodes}) ->
                     i("stop nodes"),
                     ?STOP_NODES(Nodes),
                     ok
             end,
      try_tc(?FUNCTION_NAME, Cond, Pre, Case, Post).
  
  do_sent_resend_late_reply(#{nodes := [MgcNode, MgNode]}) ->
      %% Start the MGC and MGs
      i("[MGC] start"),    
      ET = [{text,tcp}, {text,udp}, {binary,tcp}, {binary,udp}],
  