Finish layouts and refactor integration tests of the static pages.