Removed SetDOMAttribute; fixed tests