Add a test checking the pages flow