Added mocha example and doc