Add test and infrastructure for link popover