Tests for Logger.