Refactor static page spec