refactor static-page spec