test render_form_errors