Testing using XMPP over websockets