Tests for the logger.