Generate spec for StaticPages, add tests