added log4j,properties and test it