NSAttributedString hash test