Added tests for file upload example.
Ensure that publish_fields and update_fields are not strings