- fixed broken test 

I found the problem of test case with failue were not stored during the upload because
of data trunction by inserting into the mysql databse.