Fix paralleltest-batch.sh, and add more output to ParallelTest.java