Fixed logger unit tests