fix portlet tests