Uhh… I don't think anything in this test should be logging the exception? So there shouldn't be any logged errors to flush?