test case for ptr
Raw.xs: support pointers returned from callbacks
Raw.xs: callback that returns \undef for string should be translated into NULL