Added test for appending without atts.
Reorganized logic of insert method. Append now works; no longer iterating through new_components list to calculate current string length.
Added copy_with_new_str method.
Merge upstream/master.