Refactor Pages integration test to test page existence