Add log4j configuration for tests to all modules.