Upgraded integration tests to Java 8