improved Windows compatibility for 'npm test'