Split out and fix most of the rest tests in test_user_types.cpp.