Unit test for log4js