Testing java 8