Change response tests to render_template tests for docs.