Switch unit test from nodeunit to mocha