Added LoggerFactory test.