New tests for the copy functions in ua_types.c