Add tests for TLS logger