fix(error handling): handle afterEach blocks that throw

Closes #20