Renamed HtmlTag::addAttributes() method to HtmlTag::setAttributes(). Also added new test case for that method.