Add unit test for tooltips on SVG elements

Fix #14076.
> Why hardcode `Helvetica` here?

A vain attempt to avoid OS differences in font availability (and thus sizing of the tooltip text).