Fix mocha example test