refactoring of statis pages test