Tests now get custom types again.

This commit restroes a final sanity check causing custom types to be
created, which is necessary for the test suite to work.