add shm and protobuf tests