Switched from nodeunit to mocha