tests for non-primitive datatypes for UDTs