Wrote unit tests for LoggingService