snippets for mocha