Fixing warnings, moved test_external_shared_ptr into common.