Fix up a regression in test_pages