Fix tests: redirect was changed in commit e7367258.

It now redirects to @@view, so that it the redirect also works with files and images.