Remove the redundant defined checks in our subtypes.

Str and Int already check this for us.
Add tests explicitly checking PID storage works.

At Piers' chiding.

For #348