Add test for redirect target with a url fragment

We want to start using redirects to anchor links within pages.  Adding
this here so that we can be sure that they'll work correctly before we
allow this in router-api