adapted TestStorageMemoryReplication