adding java tests to travis test script