Added init tests to NSAttributedString