Improved mocha example