[MAT-437] java tests