anchor.diff:              end
       end.
   
  +find_key([], _MyId) ->
  +    {error, not_found};
  +
  +find_key([{Key, Ids}|Rest], MyId) ->
  +    case lists:member(MyId, Ids) of
  +        true ->
  +            {ok, Key};
  +        false ->
  +            find_key(Rest, MyId)
  +    end.
  +
   -ifdef(TEST).
   interested_test() ->
       P1 = dict:store(6,[0,1,7],dict:new()),
  
positive.code: 
  set_groupsdict(Dict) ->
      gen_server:call(?MODULE, {set_groupsdict, Dict}, infinity).
      
      
  init([]) ->
  
negative.code: 
  handle_call({get_mypath}, _From, S0=#state{myid=MyId, paths=Paths}) ->
      {reply, {ok, dict:fetch(MyId, Paths)}, S0};
  
  handle_call(get_key_sample, _From, S0=#state{myid=MyId, groups=Groups}) ->
      case find_key(dict:to_list(Groups), MyId) of
          {ok, Key} -> 
              {reply, {ok, Key}, S0};
          {error, not_found} ->
              {reply, {error, not_found}, S0}
      end;
      
  handle_call({set_treedict, Tree, Leaves}, _From, S0) ->
      Paths = path_from_tree_dict(Tree, Leaves),
  