Ported unittests to plone.app.testing