Test example with mocha