Added tests to verify that the static_pages links go to the correct pages.