[test] Updated the test, the 404 and 500 pages are not includes in the page stack