Migrate jasmine specs to mocha