deepCopy() helper's tests