Improved Windows support for `npm test`