Simplified test API.
Added tests for MemoryStore.