Rewrite part of -[TestAttributedStringHistory testUndo] that was failing on OS X 10.10 due to NSAttributedString differences.