Some Java 8 tests