Fixed tests to run with HTML and SVG Elements