tests for special attribute and DOMElement