Moved to JDK 1.8

Added stream trivial test.