Add testing with mocha example