Run all the unit tests.
Create a quiz containing an essay questions that allows files in the HTML editor, and attachments.
Attempt the quiz as a student, and make sure you can embed an image in the editor, and attach a file, and then Submit all and finish without errors.
Make sure that when you review the quiz as teacher, you can see both the image and the attached file.

in question_attempt_step::load_from_records, we need to create an instance of a new class question_file_loader, which also implements the get_files and __toString methods, for those data values that have files.