Update TestMemory.java

last code update