fix testcases and file download endpoints