Create run-java-tests.sh

Runs all the tests in `./tests` through <java-program>.