Updated test to prevent log4j from deadlocking the entire test suite in some configurations.