transition to Java 8: some test modules configured to use JDK 8, build scripts updated