fix logger component test