Export type test helpers

... so they can be used for testing custom types. See #156