add log4j config for test.