DRY out staticpages test spec