Added test for logger