Don't test shared_ptr for languages that don't have support for shared_ptr