Fixed missing name change in Java test.