fix static pages and static page tests