Added Mocha global variables for TDD style. Fixes #793.

I have not added tests, as currently there are no tests at all for environmental settings (and I wasn't sure on how to start them).

Apart from that, it should work nevertheless.