Udt datatype tests

Work in progress for UDT tests.
No need for this, just move it straight over to protected.