added tests to xUnique / xDuplicated