Ensure exceptions from JUnit tests are logged