Fix POMs to include slf4j-log4j and log4j as test dependencies