Implemented test for U.set.