updated test to work with defer_body_eval;

updated stdlib models to work with defer_body_eval (i.e., to use the new syntax for field options);

added some util methods to FileRecord and ImageRecord