Add a test for the template#edit page for #1132.