fix dataMemory testing.