improved Windows support for 'npm test'
updated mocha for --ignore-leaks option