Testing new Java8 functions