Add more Java tests.

Adds some more Java version tests for travis.