Fix the test for cases when the node list page is shown instead of the actual node.