anchor.diff:  
   
   get_file_json_metadata_with_json_set_test(Config) ->
  -    get_json_metadata_test_base(<<"file">>, set_direct_json, normal_mode, Config).
  -
  -
  -get_dir_json_metadata_with_json_set_test(Config) ->
  -    get_json_metadata_test_base(<<"dir">>, set_direct_json, normal_mode, Config).
  +    FileType = randomly_choose_file_type_for_test(),
  +    get_json_metadata_test_base(FileType, set_direct_json, normal_mode, Config).
   
   
   get_file_json_metadata_without_json_set_test(Config) ->
  -    get_json_metadata_test_base(<<"file">>, do_not_set_direct_json, normal_mode, Config).
  -
  -
  -get_dir_json_metadata_without_json_set_test(Config) ->
  -    get_json_metadata_test_base(<<"dir">>, do_not_set_direct_json, normal_mode, Config).
  +    FileType = randomly_choose_file_type_for_test(),
  +    get_json_metadata_test_base(FileType, do_not_set_direct_json, normal_mode, Config).
   
   
   get_shared_file_json_metadata_with_json_set_test(Config) ->
  -    get_json_metadata_test_base(<<"file">>, set_direct_json, share_mode, Config).
  -
  -
  -get_shared_dir_json_metadata_with_json_set_test(Config) ->
  -    get_json_metadata_test_base(<<"dir">>, set_direct_json, share_mode, Config).
  +    FileType = randomly_choose_file_type_for_test(),
  +    get_json_metadata_test_base(FileType, set_direct_json, share_mode, Config).
   
   
   get_shared_file_json_metadata_without_json_set_test(Config) ->
  -    get_json_metadata_test_base(<<"file">>, do_not_set_direct_json, share_mode, Config).
  -
  -
  -get_shared_dir_json_metadata_without_json_set_test(Config) ->
  -    get_json_metadata_test_base(<<"dir">>, do_not_set_direct_json, share_mode, Config).
  +    FileType = randomly_choose_file_type_for_test(),
  +    get_json_metadata_test_base(FileType, do_not_set_direct_json, share_mode, Config).
   
   
   %% @private
  
positive.code: 
  
  get_file_xattrs_with_xattrs_set_test(Config) ->
      get_xattrs_test_base(<<"file">>, set_direct_xattr, normal_mode, Config).
  
  
  get_dir_xattrs_with_xattrs_set_test(Config) ->
      get_xattrs_test_base(<<"dir">>, set_direct_xattr, normal_mode, Config).
  
  
  get_file_xattrs_without_xattrs_set_test(Config) ->
      get_xattrs_test_base(<<"file">>, do_not_set_direct_xattr, normal_mode, Config).
  
  
  get_dir_xattrs_without_xattrs_set_test(Config) ->
      get_xattrs_test_base(<<"dir">>, do_not_set_direct_xattr, normal_mode, Config).
  
  
  get_shared_file_xattrs_with_xattrs_set_test(Config) ->
      get_xattrs_test_base(<<"file">>, set_direct_xattr, share_mode, Config).
  
  
  get_shared_dir_xattrs_with_xattrs_set_test(Config) ->
      get_xattrs_test_base(<<"dir">>, set_direct_xattr, share_mode, Config).
  
  
  get_shared_file_xattrs_without_xattrs_set_test(Config) ->
      get_xattrs_test_base(<<"file">>, do_not_set_direct_xattr, share_mode, Config).
  
  
  get_shared_dir_xattrs_without_xattrs_set_test(Config) ->
      get_xattrs_test_base(<<"dir">>, do_not_set_direct_xattr, share_mode, Config).
  
  
  %% @private
  
negative.code: %%% Get Rdf metadata test functions
  %%%===================================================================
  
  -define(RANDOM_FILE_TYPE(), lists_utils:random_element([<<"file">>, <<"dir">>])).
  
  
  randomly_choose_file_type_for_test() ->
      FileType = ?RANDOM_FILE_TYPE(),
      ct:pal("Choosen file type for test: ~s", [FileType]),
      FileType.
  
  
  get_file_rdf_metadata_with_rdf_set_test(Config) ->
      FileType = randomly_choose_file_type_for_test(),
      get_rdf_metadata_test_base(FileType, set_rdf, normal_mode, Config).
  
  
  get_file_rdf_metadata_without_rdf_set_test(Config) ->
      FileType = randomly_choose_file_type_for_test(),
      get_rdf_metadata_test_base(FileType, do_not_set_rdf, normal_mode, Config).
  
  
  get_shared_file_rdf_metadata_with_rdf_set_test(Config) ->
      FileType = randomly_choose_file_type_for_test(),
      get_rdf_metadata_test_base(FileType, set_rdf, share_mode, Config).
  
  
  get_shared_file_rdf_metadata_without_rdf_set_test(Config) ->
      FileType = randomly_choose_file_type_for_test(),
      get_rdf_metadata_test_base(FileType, do_not_set_rdf, share_mode, Config).
  
  
  %% @private
  