Fixing unit tests due to removed RWValidatedFileField. AttributeError: 'set' object has no attribute 'items'