Added test for LoggerFactory.