testing: implemented GetSwap and GetMemory for FakeApp.