Fixed tests for Plone 4.2+