Use memory session adapter for tests.