anchor.diff:      Neighb54 = nodelist:mk_neighborhood([N66, N8, N50, N33, N42], N14, 1, 1),
       Neighb55 = nodelist:mk_neighborhood([N66, N8, N50, N14, N33, N42], N14, 1, 1),
       Neighb56 = nodelist:mk_neighborhood([N66, N8, N50, N14, N33, N42], N15, 1, 1),
  -    ?compare_neighborhood(Neighb51, N14, 14, N8, [N8, N66, N50], N33, [N33, N42, N50], true, true),
  -    ?compare_neighborhood(Neighb52, N14, 14, N8, [N8, N66, N50], N33, [N33, N42, N50], true, true),
  -    ?compare_neighborhood(Neighb53, N15, 15, N8, [N8, N66, N50], N33, [N33, N42, N50], true, true),
  -    ?compare_neighborhood(Neighb54, N14, 14, N8, [N8], N33, [N33], true, true),
  -    ?compare_neighborhood(Neighb55, N14, 14, N8, [N8], N33, [N33], true, true),
  -    ?compare_neighborhood(Neighb56, N15, 15, N8, [N8], N33, [N33], true, true),
  +    ?compare_neighborhood(Neighb51, N14, N8, [N8, N66, N50], N33, [N33, N42, N50], true, true),
  +    ?compare_neighborhood(Neighb52, N14, N8, [N8, N66, N50], N33, [N33, N42, N50], true, true),
  +    ?compare_neighborhood(Neighb53, N15, N8, [N8, N66, N50], N33, [N33, N42, N50], true, true),
  +    ?compare_neighborhood(Neighb54, N14, N8, [N8], N33, [N33], true, true),
  +    ?compare_neighborhood(Neighb55, N14, N8, [N8], N33, [N33], true, true),
  +    ?compare_neighborhood(Neighb56, N15, N8, [N8], N33, [N33], true, true),
       ok.
   
   %% @doc Tests truncating neighborhood structures.
   -spec test_trunc(any()) -> ok.
   test_trunc(_Config) ->
  -    N8 = node:new(pid1,   8, 0),
  -    N14 = node:new(pid2, 14, 0),
  -    N20 = node:new(pid3, 20, 0),
  -    N33 = node:new(pid4, 33, 0),
  -    N50 = node:new(pid5, 50, 0),
  +    N8 = node:new(pid1,   ?KEY(8), 0),
  +    N14 = node:new(pid2, ?KEY(14), 0),
  +    N20 = node:new(pid3, ?KEY(20), 0),
  +    N33 = node:new(pid4, ?KEY(33), 0),
  +    N50 = node:new(pid5, ?KEY(50), 0),
       
       Neighb1 = nodelist:mk_neighborhood([N8, N14, N33, N50], N20),
       
  
positive.code:     % Neighb5 = nodelist:mk_neighborhood([N14], N33, 1, 1),
      % remove existing nodes:
      ?compare_neighborhood(nodelist:filter(Neighb5, fun(N) -> not node:same_process(N, N14) end, AddNodeToTabFun),
                            N33, 33, N33, [N33], N33, [N33], false, false),
      ?equals(_N51 = ets:tab2list(RemovedNodesTab), [{N14}]),
      ets:delete_all_objects(RemovedNodesTab),
  
  
negative.code:     % Neighb5 = nodelist:mk_neighborhood([N14], N33, 1, 1),
      % remove existing nodes:
      ?compare_neighborhood(nodelist:filter(Neighb5, fun(N) -> not node:same_process(N, N14) end),
                            N33, N33, [N33], N33, [N33], false, false),
  
      % remove non-existing nodes and pids:
      ?equals(nodelist:filter(Neighb5, fun(N) -> not node:same_process(N, N20) end), Neighb5),
  