Test for logger