Moved dependencies junit, log4j and slf4j-log4j12 into test scope.