anchor.diff:  %% @private
   -spec build_verify_archive_created_fun(
       api_test_memory:mem_ref(),
  -    [oct_background:entity_selector()]
  +    [oct_background:entity_selector()],
  +    [dataset:id()], [dataset:id()]
   ) ->
       onenv_api_test_runner:verify_fun().
  -build_verify_archive_created_fun(MemRef, Providers) ->
  +build_verify_archive_created_fun(MemRef, Providers, AttachedDatasets, DetachedDatasets) ->
       fun
           (expected_success, #api_test_ctx{
               client = ?USER(UserId),
  
positive.code:                 true -> await_archive_preserved_callback_called(ArchiveId, DatasetId);
                  false -> ok
              end,
              verify_archive(
                  UserId, Providers, ArchiveId, DatasetId, CreationTime, ConfigJson,
                  PreservedCallback, PurgedCallback, Description
              );
          (expected_failure, _) ->
              ok
      end.
  
  %% @private
  -spec await_archive_preserved_callback_called(archive:id(), dataset:id()) -> ok.
  
negative.code:             target_nodes = Providers,
              client_spec = ?CLIENT_SPEC_FOR_SPACE_KRK_PAR(?EPERM),
              randomly_select_scenarios = true,
              verify_fun = build_verify_archive_created_fun(MemRef, Providers, 
                  get_datasets(attached), get_datasets(detached)),
              scenario_templates = [
                  #scenario_template{
                      name = <<"Archive dataset using REST API">>,
  