Update test_shared_ptr.cpp