java test codes for k-compiler