anchor.diff:      timer:sleep(timer:seconds(1)),
       read_file(W1, SessId, EG, ExtraFileSize),
   
  -    {ok, [ARId]} = ?assertMatch({ok, [ARId]}, list(W1, ?SPACE_ID), ?ATTEMPTS),
  +    {ok, [ARId]} = ?assertMatch({ok, [_]}, list(W1, ?SPACE_ID), ?ATTEMPTS),
       ?assertRunFinished(W1, ARId),
       ?assertEqual(true, current_size(W1, ?SPACE_ID) =< Target, ?ATTEMPTS).
   
  
positive.code:         rules => #{enabled => false}
      }),
  
      % open each file so that it will be visible in the view
      lists:foreach(fun(G) ->
          read_file(W1, SessId, G, FileSize)
      end, Guids),
      ?assertFilesInView(W1, ?SPACE_ID, Guids),
      ?assertEqual(FilesNum * FileSize, current_size(W1, ?SPACE_ID), ?ATTEMPTS),
      % this sleep is necessary to ensure that autocleaning_check will be
  
negative.code:     ExtraFileSize = 1,
      EG = write_file(W2, SessId2, ?FILE_PATH(ExtraFile), ExtraFileSize),
  
      enable_file_popularity(W1, ?SPACE_ID),
      lists:foreach(fun(G) ->
          ?assertDistribution(W1, SessId, ?DIST(DomainP2, FileSize), G),
          schedule_file_replication(W1, SessId, G, DomainP1)
      end, Guids),
  
      lists:foreach(fun(G) ->
          ?assertDistribution(W1, SessId, ?DISTS([DomainP1, DomainP2], [FileSize, FileSize]), G)
      end, Guids),
  
      configure_autocleaning(W1, ?SPACE_ID, #{
          enabled => true,
          target => Target,
  