testing std::shared_ptr