You also need to be changing ChatApp.prototype._onIncomingConversation - as that sets the peer as well.

I suspect fixing that will fix most of the functional tests, but like I said in the previous comment on this line, I think you need to keep the nick as the name, and add an extra property for the fullName (and use that in the title set in ConversationView if appropriate).