Log failures in beforeAll/afterAll correctly.

Failures weren’t getting logged since they weren’t part of a test run.
This logs the errors and signals to the test suite to skip the rest of
the tests.