Add a unit test for shared_ptr/unique_ptr inside a vector