Shared behaviour for Mocha, to help DRY out your test suite