Fix tests

It looks like `test/whitespace.js` had some old code that still referred to the `tap` module.  After this fix, tests work correctly for me using mocha.