improved Windows support for `npm test`