some java8 tests