fix for DOMElementTest