Added test with log4j.xml