tests: Add option to show progress to xtestenv.
tests: Fix openjdk6 test compatibility.