Fixed MemorySessionTest.