refactoring static pages test