adds log4j configuration in tests