Moving testing from jasmine to mocha.