Udt datatype tests

Work in progress for UDT tests.