test case for ptr
Raw.xs: support pointers returned from callbacks