fragments + tests: new popupPanel fragment, tests refactored