Udt datatype tests

Work in progress for UDT tests.
I'd deal with these two parameters 2 lines earlier to remove repeated code.