updated test-environment to java 8