add quit method in CartPayTest.java file