Refactored static_pages spec