clean up static pages spec with shared examples