add annotation test and log4j