sharedptr test