Fix for #8

Also fix the `npm test` script. Npm will use local mocha automatically. Also the test_* does not work for me on windows.