Test cleanup and reduced size of the uploaded file in the integration tests