Changed .test( HtmlElement ) method.