Update regression checks in Java test

This follows SURF changes in 1f261c2