Add the test cases of report's uploading FTP
Fix some bugs