add server side mocha test