Windows compat and test fix.

Windows compat achived by bumping mocha version and adding --no-exit
parameter.

Also fixed a test that was failing due to latency by bumping timeout.