Fix 'npm test' for windows