refactor static pages test