file upload model tests