refactored static pages spec