adds test for portlet collection and edit link