add java tests to travis