Tests for Logger