Add test of array_from_ptr with pointer[T] type
Add pointer[T] support in copy_to_pyobject arrfunc