Fixes link_prefix tests (and a bug in request.view)