Add tests for LoggingSender.