anchor.diff:      ok = test_utils:mock_new(OpwNode, autocleaning_view_traverse),
       ok = test_utils:mock_expect(OpwNode, autocleaning_view_traverse, process_row, fun(_Row, _Info, _RowNumber) ->
           timer:sleep(timer:minutes(10))
  -    end).+    end).
  +
  +get_current_space_quota(Node, SpaceId) ->
  +    rpc:call(Node, space_quota, current_size, [SpaceId]).
  +
  +enable_file_popularity(Node, SpaceId) ->
  +    ok = rpc:call(Node, file_popularity_api, enable, [SpaceId]).
  +
  +configure_auto_cleaning(Node, SpaceId, Config) ->
  +    ok = rpc:call(Node, autocleaning_api, configure, [SpaceId, Config]).
  +
  +force_auto_cleaning_run(Node, SpaceId) ->
  +    rpc:call(Node, autocleaning_api, force_run, [SpaceId]).
  +
  +get_auto_cleaning_run_report(Node, ARId) ->
  +    rpc:call(Node, autocleaning_api, get_run_report, [ARId]).
  +
  +add_session_ids(Config, InitialData) ->
  +    [P1, P2] = test_config:get_providers(Config),
  +    [User1] = test_config:get_provider_users(Config, P1),
  +    SessId = fun(P) -> test_config:get_user_session_id_on_provider(Config, User1, P) end,
  +    InitialData#{
  +        session_ids => #{
  +            P1 => SessId(P1),
  +            P2 => SessId(P2)
  +        }
  +    }.
positive.code:     end, [P1DirGuid, P2DirGuid]),
  
      FailingProvider = provider_onenv_test_utils:find_importing_provider(Config, SpaceId),
      #{
          test_dirs => #{
              P1 => P1DirGuid,
              P2 => P2DirGuid
          },
          failing_provider => FailingProvider
      }.
  
  create_test_data(Config, InitialData) ->
      TestData2 = prepare_files(Config, InitialData, #{}),
      TestData3 = prepare_import(Config, InitialData, TestData2),
      prepare_auto_cleaning(Config, InitialData, TestData3).
  
  
  verify(Config, InitialData, TestData, StopAppBeforeKill) ->
      verify_files(Config, InitialData, TestData, StopAppBeforeKill),
      verify_import(Config, InitialData, TestData),
      verify_auto_cleaning(Config, InitialData, TestData).
  
  
  verify_all_files_and_dirs_created_by_provider(Worker, SessId, TestData, ProviderId) ->
  
negative.code: prepare_import(Config, InitialData, TestData) ->
      ImportingProvider = kv_utils:get(failing_provider, InitialData),
      [ImportingOpNode | _] = test_config:get_provider_nodes(Config, ImportingProvider),
      SpaceId = kv_utils:get(space_id, InitialData),
  
      % check whether initial scan has been finished
      storage_import_test_base:assertInitialScanFinished(ImportingOpNode, SpaceId, ?ATTEMPTS),
  