anchor.diff:  	  } = State,
       true = ets:insert(EtsRef, {yxa_appmodule, AppModule, yxa_config_default}),
       ok.
  +
  +
  +%%====================================================================
  +%% Test functions
  +%%====================================================================
  +
  +%%--------------------------------------------------------------------
  +%% Function: test()
  +%% Descrip.: autotest callback
  +%% Returns : ok | throw()
  +%%--------------------------------------------------------------------
  +test() ->
  +    %% merge_entrys(Left, Right)
  +    %%--------------------------------------------------------------------
  +    autotest:mark(?LINE, "merge_entrys/2 - 1"),
  +    [{a,b,c}] = merge_entrys([], [{a,b,c}]),
  +
  +    autotest:mark(?LINE, "merge_entrys/2 - 2"),
  +    [{a,b,c}] = merge_entrys([{a,a,a}], [{a,b,c}]),
  +
  +    autotest:mark(?LINE, "merge_entrys/2 - 3"),
  +    [{a,b,c}] = merge_entrys([], [{a,b,c}]),
  +
  +    autotest:mark(?LINE, "merge_entrys/2 - 4"),
  +    [{a,b,c},
  +     {b,2,2}] = merge_entrys([{b,2,2}], [{a,b,c}]),
  +
  +    ok.
  
positive.code: %%--------------------------------------------------------------------
  
  
  parse(CfgL, State) when is_record(CfgL, yxa_cfg), is_record(State, state) ->
      Backends = State#state.backends,
      case parse2(Backends, CfgL#yxa_cfg.entrys) of
  	{ok, NewEntrys} ->
  	    {ok, CfgL#yxa_cfg{entrys = NewEntrys}};
  	{error, Module, Msg} ->
  	    {error, Module, Msg}
      end.
  
negative.code: 							is_record(ExtraCfg, yxa_cfg) ->
      %% Figure out which backends to activate
      yxa_config_util:startup_log(?MODULE, debug, "Initializing backends : ~p", [Backends]),
      BackendData = init_backends(Backends, AppModule),
  
      State = #state{backends	= BackendData,
  		   appmodule	= AppModule,
  