tests: Fix unit test failures related to additional logging.