Refactored CheckNavigationPaths test for page object model