NSAttributedString enumerator tests