refactor static page test