Refactored static pages test spec