Writing a Logger test