test with java 8