add mocha client example and source code to test with qunit