Fix broken java test (oops)