 
             server.doTest iq, "got-iq-mam-B-1", cb, (iq) ->
                 iqReceived = true
-                server.removeAllListeners eventName
-                server.once eventName, (msg) ->
+                server.removeAllListeners "got-message-picard@enterprise.sf/abc"
+                server.once "got-message-picard@enterprise.sf/abc", (msg) ->
                     throw new Error("message after result iq")
                 iq.attrs.should.have.property "type", "result"
 

                for conf in badConfigurations
                    configurations.should.not.include conf

        ], done

    it.skip "must fail when there are too many results", (done) ->
            badConfigurations = ["/user/data@enterprise.sf/status"]

            iqReceived = false

            server.on "got-message-picard@enterprise.sf/abc", (msg) ->
                iqReceived.should.be.false
                msg.attrs.should.have.property("type", "headline")

