Fix to apply bbb profile for tests only on Plone 4