Add a dependency for tests using plone.app.testing
In the folder_contents view always set the base tag with a trailing slash.

Fixes https://dev.plone.org/ticket/13487