anchor.diff:  
   
   end_per_testcase(Case, Config) when
  -    Case =:= not_registered_upload_should_fail
  +    Case =:= not_registered_upload_should_fail;
  +    Case =:= upload_test
   ->
       Workers = ?config(op_worker_nodes, Config),
       test_utils:mock_unload(Workers, cowboy_req),
       test_utils:mock_unload(Workers, cow_multipart),
  +    test_utils:mock_unload(Workers, op_gui_session),
       end_per_testcase(all, Config);
   
   end_per_testcase(_Case, Config) ->
  
positive.code: -module(file_upload_test_SUITE).
  -author("Bartosz Walkowicz").
  
  -include_lib("ctool/include/aai/aai.hrl").
  -include_lib("ctool/include/logging.hrl").
  -include_lib("ctool/include/api_errors.hrl").
  
negative.code:     ).
  
  
  upload_test(Config) ->
      [WorkerP1] = ?config(op_worker_nodes, Config),
      UserId = <<"user1">>,
      SessionId = ?config({session_id, {UserId, ?GET_DOMAIN(WorkerP1)}}, Config),
  
      {ok, Guid} = lfm_proxy:create(WorkerP1, SessionId, ?FILE_PATH, ?DEFAULT_FILE_MODE),
      ?assertMatch({ok, _}, lfm_proxy:stat(WorkerP1, SessionId, {guid, Guid})),
  
      ?assertMatch(
          {ok, _},
          rpc:call(WorkerP1, file_rpc, handle, [
              ?USER(UserId, SessionId), <<"initializeFileUpload">>, #{<<"guid">> => Guid}
          ])
      ),
      ?assertMatch(true, rpc:call(WorkerP1, file_upload_manager, is_upload_registered, [UserId, Guid])),
  
      do_multipart(WorkerP1, SessionId, 5, 10, 5, Guid),
  
      ?assertMatch(
          {ok, _},
          rpc:call(WorkerP1, file_rpc, handle, [
              ?USER(UserId, SessionId), <<"finalizeFileUpload">>, #{<<"guid">> => Guid}
          ])
      ),
      ?assertMatch(false, rpc:call(WorkerP1, file_upload_manager, is_upload_registered, [UserId, Guid]), ?ATTEMPTS),
      ?assertMatch({ok, #file_attr{size = 250}}, lfm_proxy:stat(WorkerP1, SessionId, {guid, Guid}), ?ATTEMPTS),
  
      {ok, FileHandle} = lfm_proxy:open(WorkerP1, SessionId, {guid, Guid}, read),
      {ok, Data} = ?assertMatch({ok, _}, lfm_proxy:read(WorkerP1, FileHandle, 0, 250)),
      ?assert(lists:all(fun(X) -> X == true end, [$a == Char || <<Char>> <= Data])),
      lfm_proxy:close(WorkerP1, FileHandle).
  
  
  stale_upload_file_should_be_deleted(Config) ->
      [WorkerP1] = ?config(op_worker_nodes, Config),
      UserId = <<"user1">>,
  