Test routines for wrappers.

Pointer projections not handled yet.