 sendPackets = (packets, callback) ->
   send = (p, cb) ->
     [client, queue, data] = p
-    client.sendToQueue queue, data, cb
+    client.sendTo 'outqueue', queue, data, cb
 
   async.map packets, send, callback
 

        ], (err) ->
          chai.expect(err).to.not.exist

          clients.sender.sendToQueue outQueue, payload, (err) ->
            chai.expect(err).to.not.exist
            done()



            clients.receiver.subscribeToQueue sharedQueue, onReceive, (err) ->
              chai.expect(err).to.be.a 'null'
            clients.sender.sendTo 'outqueue', sharedQueue, payload, (err) ->
              chai.expect(err).to.be.a 'null'


