fix logger tests