fixing test (need to find a way to integrate a dummy xmpp server)