Ported tests to plone.app.testing

That fixed the error on Plone 5, but not the ones on Plone 4.3