Fix initializing of InMemoryStore (wrong parameters, fixes #7)