anchor.diff:      registering_upload_for_directory_should_fail/1,
       registering_upload_for_non_empty_file_should_fail/1,
       registering_upload_for_not_owned_file_should_fail/1,
  -    not_registered_upload_should_fail/1
  +    not_registered_upload_should_fail/1,
  +    stale_upload_file_should_be_deleted/1,
  +    finished_upload_file_should_be_left_intact/1
   ]).
   
   all() ->
  
positive.code:         registering_upload_for_directory_should_fail,
          registering_upload_for_non_empty_file_should_fail,
          registering_upload_for_not_owned_file_should_fail,
          not_registered_upload_should_fail
      ]).
  
  -define(ATTEMPTS, 60).
  
negative.code: 
  do_multipart(Worker, SessionId, PartsNumber, PartSize, ChunksNumber, FileGuid) ->
      ChunkSize = PartsNumber*PartSize,
      Params = #{<<"guid">> => FileGuid, <<"resumableChunkSize">> => integer_to_binary(ChunkSize)},
  
      utils:pforeach(fun(Chunk) ->
          rpc:call(Worker, page_file_upload, handle_multipart_req, [
              #{size => PartSize, left => PartsNumber},
              SessionId,
              Params#{<<"resumableChunkNumber">> => integer_to_binary(Chunk)}
          ])
      end, lists:seq(1,ChunksNumber)).
  