Refactored static pages tests