tests for portlet improved