Testing Java jar files