Add option to run java tests with run.py