Add java tests to travis.yml