Test cases and apis for file upload and download