Unit tests. Upgrade to Java 8.