Test utility for subscribing (see xmpp_publisher)