add ut and log4js support