Test from module 1 Java 8 learning