add CartPayTest.java file and modify some files