added mocha snippets