anchor.diff:      DataDiff = lists:subtract(Data, UniqueData),
       case FailOnError of
           true ->
  -            ?equals_w_note(DataDiff, [], "duplicate elements detected");
  +            ?equals_w_note(DataDiff, [], "duplicate elements detected"),
  +            true;
           _ when DataDiff =:= [] ->
               true;
           _ ->
  
positive.code:     after Timeout -> ok
  end.
  
  -spec check_ring_load(ExpLoad::pos_integer()) -> ok.
  check_ring_load(ExpLoad) ->
      Ring = statistics:get_ring_details(),
      Load = statistics:get_total_load(Ring),
      ?equals(Load, ExpLoad).
  
  -spec check_ring_data() -> ok.
  check_ring_data() ->
      check_ring_data(250, 8).
  
  -spec check_ring_data(Timeout::pos_integer(), Retries::non_neg_integer()) -> ok.
  check_ring_data(Timeout, Retries) ->
      Data = lists:append(
               [Data || {_Pid, _Interval, Data, {pred, _PredPid}, {succc, _SuccPid}, _Result} <- unittest_helper:get_ring_data()]),
      case Retries < 1 of
          true -> check_ring_data_all(Data, true);
          _ ->
              case check_ring_data_all(Data, false) of
                  true -> ok;
                  _    -> timer:sleep(Timeout),
                          check_ring_data(Timeout, Retries - 1)
              end
  
negative.code:             false
      end.
  
  -spec check_ring_data_lock_free(Data::[db_entry:entry()], FailOnError::boolean()) -> boolean().
  check_ring_data_lock_free(Data, FailOnError) ->
      Locked = [E || E <- Data, db_entry:is_locked(E)],
      case FailOnError of
          true ->
              ?equals_w_note(Locked, [], "ring is not lock-free"),
              true;
          _ when Locked =:= [] ->
              true;
          _ ->
  