also run index.js on npm test