test printing shmem object