Add unit test for tooltips on SVG elements

Fix #14076.
All the other async tests stop at the beginning of the test.