it('should retain properties passed in as a parameter', function (done) {
        error.should.have.property('bar');
        error.bar.should.equal('baz');
        return done();
    });