commonjs support
passing `npm test`