Fixed logger unit test