Moved test-mode log4j.xml from common to api