Fixes failing tests on plone 4.3