a java test program