add test for page navigation

regression test for bug