Add another test for internal URLs

Someone spotted that we had a URL without a leading forward slash. Add a
test for that.

Fixed another instance of the issue.