java tests validated