Add SharedMemoryTest