Fix testTooltip tests, add coverage for prepareTooltip

Ignore the rest of the UT failures, unrelated to this.