add TestJava for formating print