Fix tests on OpenJDK

I can't seem to select only certain changes for inclusion, so please only take the test change, and ignore all travis.yml changes except for enabling the openjdk build.