smartptr testing