Integration tests and fix for double initUpload (multiple parts)