Test case for Logger