Added test for persist without uploaded file