old_contents: var Gu = require('gu')
    , guParams = require('../')
    , sulfur = require('sulfur');
  
  exports.response = function (t) {
    var clvr = new Gu(guParams.scriptdir, guParams.files, { noReload: true });
    sulfur.absorb(clvr.log, 'gu');
    var xs = [
      {user: '#chan:clux', name: 'clux', message: 'hi clvr'},
    ];
    xs.forEach(function (x) {
      clvr.write(x);
    });
  
    clvr.on('readable', function () {
      var resp = clvr.read();
      t.ok(resp, 'got a response');
      t.equal(resp.user, '#chan:clux', 'addressed to me');
      // TODO: if it starts failing - create a test to ensure
      // resp is not equal to "<html>"" or whatever it returns when permissions fail
      t.done();
    });
  };
  
new_contents: var Gu = require('gu')
    , guParams = require('../')
    , sulfur = require('sulfur');
  
  exports.response = function (t) {
    var clvr = new Gu(guParams.scriptdir, guParams.files, { noReload: true });
    sulfur.absorb(clvr.log, 'gu');
    clvr.write({user: '#chan:clux', name: 'clux', message: 'hi clvr'});
  
    clvr.on('readable', function () {
      var resp = clvr.read();
      t.ok(resp, 'got a response');
      t.equal(resp.user, '#chan:clux', 'addressed to me');
      // TODO: if it starts failing - create a test to ensure
      // resp is not equal to "<html>"" or whatever it returns when permissions fail
      t.done();
    });
  };
  
subject: simplify test