rename afterAllException to afterAllError

It should also handle expectation failures
Add failing specs for expectation failures in afterAll