Added some node based mocha tests for different scenarios in the example client-server.