replaceMemoryHost with TestServer