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:      {group, stop_handle_event},
       {group, abnormal},
       {group, abnormal_handle_event},
       shutdown, stop_and_reply, event_order,
       {group, sys},
       hibernate, enter_loop].
  
  groups() ->
      [{start, [],
        [start1, start2, start3, start4, start5, start6, start7,
         start8, start9, start10, start11, start12, next_events]},
       {start_handle_event, [],
        [start1, start2, start3, start4, start5, start6, start7,
         start8, start9, start10, start11, start12, next_events]},
       {stop, [],
        [stop1, stop2, stop3, stop4, stop5, stop6, stop7, stop8, stop9, stop10]},
       {stop_handle_event, [],
        [stop1, stop2, stop3, stop4, stop5, stop6, stop7, stop8, stop9, stop10]},
       {abnormal, [], [abnormal1, abnormal2]},
       {abnormal_handle_event, [], [abnormal1, abnormal2]},
       {sys, [],
        [sys1, code_change,
         call_format_status,
         error_format_status, terminate_crash_format,
         get_state, replace_state]},
       {sys_handle_event, [],
        [sys1,
         call_format_status,
         error_format_status, terminate_crash_format,
         get_state, replace_state]}].
  
  init_per_suite(Config) ->
      Config.
  
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};
  