Fix #14076: Add unit test for tooltips on SVG elements

[skip validator]
Merge pull request #14299 from twbs/fix-14076

Add unit test for tooltips on SVG elements