anchor.diff:      end,
   
       %% Process not started using proc_lib
  -    CallbackMode = state_functions,
  -    Pid4 =
  -	spawn_link(
  -	  gen_statem, enter_loop,
  -	  [?MODULE,[],CallbackMode,state0,[]]),
  +    Pid4 = spawn_link(gen_statem, enter_loop, [?MODULE,[],state0,[]]),
       receive
   	{'EXIT',Pid4,process_was_not_started_by_proc_lib} ->
   	    ok
  
positive.code: 	anon -> ignore
      end,
      proc_lib:init_ack({ok, self()}),
      CallbackMode = state_functions,
      case Reg2 of
  	local ->
  	    gen_statem:enter_loop(
  	      ?MODULE, [], CallbackMode, state0, [], {local,armitage});
  	global ->
  	    gen_statem:enter_loop(
  	      ?MODULE, [], CallbackMode, state0, [], {global,armitage});
  	via ->
  	    gen_statem:enter_loop(
  	      ?MODULE, [], CallbackMode, state0, [],
  	      {via, dummy_via, armitage});
  	anon ->
  	    gen_statem:enter_loop(
  	      ?MODULE, [], CallbackMode, state0, [])
      end.
  
  
  
negative.code: 
  
  code_change(OldVsn, State, Data, CallbackMode) ->
      io:format(
        "code_change(~p, ~p, ~p, ~p)~n", [OldVsn,State,Data,CallbackMode]),
      ets:insert(?MODULE, {callback_mode,CallbackMode}),
      io:format(
        "code_change(~p, ~p, ~p, ~p)~n", [OldVsn,State,Data,CallbackMode]),
      {ok,State,{OldVsn,Data,CallbackMode}}.
  
  format_status(terminate, [_Pdict,State,Data]) ->
      {formatted,State,Data};
  