fix upload controller test case