Update regression checks in Java test

This follows SURF changes in 1f261c2
Merge pull request #407 from taka-no-me:fix_java_after_surf_change