DRYed out the tests for the static pages