The current tests are based on a simple shell script. Move those tests into gradle and stop including a log4j jar for testing.