Revert "Testportlets fix"

This reverts commit 54564715cc798379027febdc2291e66a541dfaf9.