Add sharedmemory test.