Khushal: Made changes in the upload controller to overcome server side permission issues and added proper cukes