Refactor test to avoid weird failure on Plone 4.2