More compiler errors fixed for Java 8 specific tests