re-added log4j compile dep
moved deps to test scope