Fixing warnings and harness around running Java8 tests and separate JVM tests