Fixed logger unit test.