fixed mocha examples