Test setting SVG attributes by JavaScript