Refacotry static_pages_spec