anchor.diff:                  true ->
                       api_test_utils:assert_distribution(Providers, [FileGuid], [{P1Node, FileSize}]);
                   false ->
  -                    case maps:get(<<"range">>, Data, undefined) of
  +                    case maps:get(<<"range">>, utils:ensure_defined(Data, #{}), undefined) of
                           undefined ->
                               api_test_utils:assert_distribution(Providers, [FileGuid], [
                                   {P1Node, FileSize}, {DownloadNode, FileSize}
  
positive.code:             verify_fun = VerifyFun,
  
              data_spec = api_test_utils:add_file_id_errors_for_operations_available_in_share_mode(
                  DirGuid, DirShareId, DataSpec#data_spec{
                      bad_values = [{bad_id, DirShareObjectId, {rest, ?ERROR_POSIX(?EISDIR)}}]
                  }
              )
  
negative.code:             verify_fun = VerifyFun,
  
              data_spec = api_test_utils:add_file_id_errors_for_operations_available_in_share_mode(
                  DirGuid, undefined, #data_spec{
                      optional = [<<"range">>],
                      correct_values = #{<<"range">> => RangesToTestPart1},
                      bad_values = [{bad_id, DirObjectId, {rest, ?ERROR_POSIX(?EISDIR)}}]
                  }
              )
  