[C++11] Add unit tests for OwningPtr<T> in preparation for changes to make