packaged as node module, run tests as: npm test

Hi Tom,
I've converted thing to an npm package,
now all tests can be run just with
npm test