anchor.diff:                                                    {leases, true},
                                                     {db_backend, db_mnesia},
                                                     {start_type, recover}]}]),
  -    lease_checker2:wait_for_clean_leases(500, [{ring_size, 4}]),
  +    lease_checker2:wait_for_clean_leases(500, [{ring_size, ring_size()}]),
       %% ring restored -> checking KV data integrity
       _ = check_data_integrity(),
       true.
  
positive.code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  remove_node(_Config) ->
      ct:pal("wait for check_leases"),
      lease_checker2:wait_for_clean_leases(500, [{ring_size, 4}]),
      %% delete random node from ring
      RandomNode = comm:make_local(lease_checker:get_random_save_node()),
      io:format("show prbr statistics for the ring~n"),
  
negative.code:     WorkingDir = string:sub_string(PWD, 1, string:len(PWD) - 1) ++
          "/" ++ config:read(db_directory) ++ "/" ++ atom_to_list(erlang:node()) ++ "/",
      _ = file:delete(WorkingDir ++ "schema.DAT"),
      RingSize = ring_size(),
      Config3 = unittest_helper:stop_minimal_procs(Config2),
  
      {priv_dir, PrivDir} = lists:keyfind(priv_dir, 1, Config3),
      unittest_helper:make_ring(RingSize, [{config, [{log_path, PrivDir},
                                                        {leases, true},
                                                        {db_backend, db_mnesia}]}]),
      unittest_helper:check_ring_size_fully_joined(ring_size()),
  