Java Testing with jRuby
Fix minor issues