Udt datatype tests

Work in progress for UDT tests.
Same comment as above for easier readability.