Add test helper to stub gone route registration

www.agileplannerapp.com/boards/173808/cards/8116

to be used by content-store: https://github.com/alphagov/content-store/pull/79
The variable name doesn't look right here.