Setup Mocha for tests.
Port test suite to Mocha.