Check for afterAll failures in a more browser independent way.

- Only look at the message, so browsers that don't provide a stack don't
  blow up.