Update the tests
Add controller attribute
Add a trailing slash in the http_url of the caches.

Also remove leading slash where it should be removed.