MemoryTest: add method for testing am: 6de0aa81a3
am: f0a0b645e9

Change-Id: I2da0790ab9d925a58efb0bc26b3dafd0c06b38b1