Add new static pages tests and refactor old static pages tests