This makes the tests run for Plone 4.0 too.
The tests currently fail for Plone 4.0, but I'm not game to fix this atm.