Added shared memory test.