test(components.tooltip) Adds tests for tooltip positioning calculations