Moving node tests to Mocha.