anchor.diff:  
   
   init_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),
       ok = test_utils:mock_new(Workers, cow_multipart),
       ok = test_utils:mock_new(Workers, cowboy_req),
  +    ok = test_utils:mock_new(Workers, op_gui_session),
  +    ok = test_utils:mock_expect(Workers, op_gui_session, get_user_id,
  +        fun() -> <<"user1">> end
  +    ),
       ok = test_utils:mock_expect(Workers, cow_multipart, form_data,
           fun(_) -> {file, ok, ok, ok} end
       ),
  
positive.code: 
  
  end_per_testcase(Case, Config) when
      Case =:= not_registered_upload_should_fail
  ->
      Workers = ?config(op_worker_nodes, Config),
      test_utils:mock_unload(Workers, cowboy_req),
      test_utils:mock_unload(Workers, cow_multipart),
      end_per_testcase(all, Config);
  
  end_per_testcase(_Case, Config) ->
  
negative.code:         registering_upload_for_non_empty_file_should_fail,
          registering_upload_for_not_owned_file_should_fail,
          not_registered_upload_should_fail,
          upload_test,
          stale_upload_file_should_be_deleted,
          finished_upload_file_should_be_left_intact
      ]).
  