Add tests for LoggingService