Add nodeunit

* Add dependency on `nodeunit` to `package.json`.
* Add script to run nodeunit tests using `npm test`.