Fix test setup for Plone < 4.3.