Add a couple of tests for deferred xmpp peer close.