Add log4j2 testing code