Java test for triton