set value on group/repeat after children are added
fixed setValueAttr
clone defaultInstance or it will be mutated
fixed setValueAttr
updated test