throwing exceptions (and failing) the tests on ERROR log messages