Test cases for LoggerFactory