added mocha testing samples