Better Mocha compatibility

- `before` is now `beforeEach`
- `after` is now `afterEach`