enable test on Java 8