anchor.diff:          {<<"bytes=-5-">>, ?HTTP_416_RANGE_NOT_SATISFIABLE},
           {<<"bytes=10--5">>, ?HTTP_416_RANGE_NOT_SATISFIABLE},
           {<<"bytes=10-15-">>, ?HTTP_416_RANGE_NOT_SATISFIABLE},
  -
  +        
           {<<"bytes=5000000-5100000">>, ?HTTP_416_RANGE_NOT_SATISFIABLE}
       ],
       AllRangesToTestNum = length(AllRangesToTest),
  -
  +    
       % Randomly split range to test so to shorten test execution time by not
       % repeating every combination several times
       RangesToTestPart1 = lists_utils:random_sublist(
           AllRangesToTest, AllRangesToTestNum div 2, AllRangesToTestNum div 2
       ),
       RangesToTestPart2 = AllRangesToTest -- RangesToTestPart1,
  -
  +    
       ?assert(onenv_api_test_runner:run_tests([
           #scenario_spec{
               name = <<"Download file using rest endpoint">>,
  
positive.code:                 % Still after request, which will fail, it should be deleted also from memory
                  ?assertEqual(?ERROR_BAD_VALUE_ID_NOT_FOUND(<<"code">>), download_file_with_gui_endpoint(DownloadNode, FileDownloadUrl)),
                  ?assertMatch(?ERROR_NOT_FOUND, get_file_download_code_doc(DownloadNode, DownloadCode, memory)),
  
                  api_test_memory:set(MemRef, download_succeeded, false)
          end
      end.
  
negative.code: %% @private
  maybe_inject_guids(MemRef, Data, TestMode) when is_map(Data) ->
      case maps:get(<<"file_ids">>, Data, undefined) of
          injected_guids ->
              FileTreeObject = api_test_memory:get(MemRef, file_tree_object),
              Guids = lists:map(fun(#object{guid = Guid, shares = Shares}) ->
                  case TestMode of
                      normal_mode -> Guid;
                      share_mode ->
                          case Shares of
                              [ShareId | _] -> file_id:guid_to_share_guid(Guid, ShareId);
                              _ -> Guid
                          end  
                  end
              end, utils:ensure_list(FileTreeObject)),
              {FinalGuids, UpdatedData} = case maps:take(bad_id, Data) of
                  {BadId, LeftoverData} -> {[BadId], LeftoverData};
                  error -> {Guids, Data}
              end,
              UpdatedData#{<<"file_ids">> => FinalGuids};
          _ -> Data
      end;
  maybe_inject_guids(_MemRef, Data, _TestMode) ->
  