Test Java  8 new features