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.

Apart from that, it should work nevertheless.