Refactor static pages spec