Working test and bug fix for Magnifying glass

- Tests up to date with latest models
- Clicking on a popover closes others
- Number of results correctly show