Add mocha script for test client code