Add unit tests for my_remove_pointer.
Add unit tests for my_scoped_array.