Add test for popover.