conform mocha's best practices