test programs for  shared memory channel