Refactor specs for page model