My Java test code