anchor.diff:  
       {FileGuid, HandleId} = fuse_test_utils:create_file(Sock, DirId, Filename),
       fuse_test_utils:close(Sock, FileGuid, HandleId),
  -    ?assertMatch({ok, _}, lfm_proxy:mv(Worker1, SessionId, {guid, FileGuid}, <<"/space_name1/", Dirname/binary, "/xyz">>)),
  +    ?assertMatch({ok, _}, lfm_proxy:mv(Worker1, SessionId, {guid, FileGuid},
  +        <<"/space_name1/", Dirname/binary, "/", ?CONFLICTING_FILE_AFTER_RENAME_STR>>)),
       ?assertEqual(ok, lfm_proxy:unlink(Worker1, SessionId, {guid, FileGuid})),
   
       % Events triggered by mv and unlink
  -    ?assertEqual(ok, receive_file_renamed_event()),
  -    ?assertEqual(ok, receive_file_renamed_event()),
  +    CheckList = receive_events_and_check(file_renamed, FileGuid),
  +    % Check for DirId as mock forces name conflict using uuid of parent
  +    case lists:member({file_renamed, DirId}, CheckList) of
  +        true -> ok; % Event has been already received with previous event
  +        false -> receive_events_and_check(file_renamed, DirId)
  +    end,
   
       lists:foreach(fun(Seq) ->
           ?assertEqual(ok, ssl:send(Sock,
  
positive.code:     test_utils:mock_expect(Workers, file_meta, get_all_links, fun
          (Uuid, Name) when Name =:= ?CONFLICTING_FILE_NAME orelse Name =:= ?CONFLICTING_FILE_AFTER_RENAME ->
              case meck:passthrough([Uuid, Name]) of
                  {ok, List} -> {ok, [#link{name = Name, target = <<>>, tree_id = ?TEST_TREE_ID} | List]};
                  {error, not_found} -> {ok, [#link{name = Name, target = <<>>, tree_id = ?TEST_TREE_ID}]}
              end;
          (Uuid, Name) ->
              meck:passthrough([Uuid, Name])
  
negative.code:         rpc:call(Worker1, subscription_manager, get_attr_event_subscribers, [FileGuid, undefined, false]), 10),
      rpc:call(Worker1, fslogic_event_emitter, emit_file_attr_changed_with_replication_status,
          [file_ctx:new_by_guid(FileGuid), true, []]),
      receive_events_and_check({receive_replication_changed, true}, FileGuid),
      rpc:call(Worker1, fslogic_event_emitter, emit_file_attr_changed_with_replication_status,
          [file_ctx:new_by_guid(FileGuid), false, []]),
      receive_events_and_check({receive_replication_changed, true}, FileGuid),
  
      % Check if single event is produced on overlapping subscriptions
      Seq2 = get_seq(Config, User),
  