update:format code in CompateTest.java