fix test for logger