Click here to go to the top of the page
This page should manually be loaded with "#foo" appended to the URL. When you then click the link, the page should navigate to the url without #foo.