refactored static_pages spec