it('should open a sub 0MQ socket', function () {
        subscriber.getInstance(config)
        zmq.socket.should.have.been.calledWith('sub')
      })