tests rewritten with plone.testing layers