Added mocha test to server api article