Fixed test and log4j.properties in test