This should be using `assert.throws(function () { /* test if thing throws */ })`.