Refactoring tests 'Static pages'