Instead of using the custom-rolled test system, use mocha, chaijs, and sinon.