Add tests for page titles - pass tests for page titles
Factor out titles