update java tests