anchor.diff:  
   
   get_file_xattrs_on_provider_not_supporting_space_test(Config) ->
  -    get_xattrs_on_provider_not_supporting_space_test_base(<<"file">>, Config).
  -
  -
  -get_dir_xattrs_on_provider_not_supporting_space_test(Config) ->
  -    get_xattrs_on_provider_not_supporting_space_test_base(<<"dir">>, Config).
  -
  -
  -%% @private
  -get_xattrs_on_provider_not_supporting_space_test_base(FileType, Config) ->
       [P2, P1] = Providers = ?config(op_worker_nodes, Config),
       SessIdP1 = ?USER_IN_BOTH_SPACES_SESS_ID(P1, Config),
   
  +    FileType = randomly_choose_file_type_for_test(),
       FilePath = filename:join(["/", ?SPACE_1, ?RANDOM_FILE_NAME()]),
       {ok, FileGuid} = api_test_utils:create_file(FileType, P1, SessIdP1, FilePath),
       ?assertMatch(ok, lfm_proxy:set_xattr(P1, SessIdP1, {guid, FileGuid}, ?XATTR_1)),
  
positive.code: 
  
  get_file_json_metadata_on_provider_not_supporting_space_test(Config) ->
      get_json_metadata_on_provider_not_supporting_space_test_base(<<"file">>, Config).
  
  
  get_dir_json_metadata_on_provider_not_supporting_space_test(Config) ->
      get_json_metadata_on_provider_not_supporting_space_test_base(<<"dir">>, Config).
  
  
  %% @private
  get_json_metadata_on_provider_not_supporting_space_test_base(FileType, Config) ->
      [P2, P1] = Providers = ?config(op_worker_nodes, Config),
      SessIdP1 = ?USER_IN_BOTH_SPACES_SESS_ID(P1, Config),
  
      FilePath = filename:join(["/", ?SPACE_1, ?RANDOM_FILE_NAME()]),
      {ok, FileGuid} = api_test_utils:create_file(FileType, P1, SessIdP1, FilePath),
      lfm_proxy:set_metadata(P1, SessIdP1, {guid, FileGuid}, json, ?JSON_METADATA_2, []),
  
negative.code: 
  
  get_file_xattrs_with_xattrs_set_test(Config) ->
      FileType = randomly_choose_file_type_for_test(),
      get_xattrs_test_base(FileType, set_direct_xattr, normal_mode, Config).
  
  
  get_file_xattrs_without_xattrs_set_test(Config) ->
      FileType = randomly_choose_file_type_for_test(),
      get_xattrs_test_base(FileType, do_not_set_direct_xattr, normal_mode, Config).
  
  
  get_shared_file_xattrs_with_xattrs_set_test(Config) ->
      FileType = randomly_choose_file_type_for_test(),
      get_xattrs_test_base(FileType, set_direct_xattr, share_mode, Config).
  
  
  get_shared_file_xattrs_without_xattrs_set_test(Config) ->
      FileType = randomly_choose_file_type_for_test(),
      get_xattrs_test_base(FileType, do_not_set_direct_xattr, share_mode, Config).
  
  
  %% @private
  