Refactor static pages test fixture to use shared examples.