fix robot test and align with portlet changes