Improve static pages tests