describe('Primacron', function () {
  'use strict';

  var Primacron = require('../')
    , portnumbers = 1024
    , server
    , reds;

  beforeEach(function beforeEach(done) {
    server = new Primacron({
      port: ++portnumbers,
      listening: done
    });
  });

  afterEach(function afterEach(done) {
    server.destroy(done);
  });
});

@@ -79,16 +79,49 @@
 ('../')%0A
+    , assume = require('assume')%0A
     , po
@@ -367,13 +367,1183 @@
 );%0A  %7D);
+%0A%0A  describe(%22#listen%22, function () %7B%0A    it('should register a listening event on the consumed server that re-emits', function (done) %7B%0A       var prima = new Primacron(%7B%0A        listen: false,%0A        port: ++portnumbers%0A      %7D);%0A%0A      prima.once('listening', function () %7B%0A        prima.destroy();%0A        done();%0A      %7D);%0A%0A      prima.listen();%0A      assume(prima.server._events).to.have.property('listening');%0A      assume(prima.server._events.listening).to.be.an('array');%0A      prima.server._events.listening.forEach(function (fn) %7B%0A        assume(fn).to.be.a('function');%0A      %7D);%0A    %7D);%0A%0A    it('should register a close event on the consumed server that re-emits', function (done) %7B%0A      var prima = new Primacron(%7B%0A        listen: false,%0A        port: ++portnumbers%0A      %7D);%0A%0A      prima.once('close', done);%0A      prima.once('listening', function () %7B%0A        prima.destroy();%0A      %7D);%0A%0A      prima.listen();%0A      assume(prima.server._events).to.have.property('close');%0A      assume(prima.server._events.close).to.be.an('array');%0A      prima.server._events.close.forEach(function (fn) %7B%0A        assume(fn).to.be.a('function');%0A      %7D);%0A    %7D);%0A  %7D);
 %0A%7D);%0A

check for presence of proxying events