Static pages tests refactor