shared memory testing