Replaced use of 'body' for 'set_form_data' and corrected tests.