Navigation tests

- set the ground for html unit tests for the site navigation
- add tests for #5173 Article navigation improvements regression fix