NSAttributedStringSubclass tests