Made log4j a testing dependency only