Add tests and HTML for changing titles