refactor(components.tooltip) Cleaned up code, adding tests and integrated with highlights mixin.