packaged as node module, run tests as: npm test