Test for Logger functionality