Changed server side test from jasmine to mocha.