Move PopupFrame test function