Add one unit test to reproduce mantis issue 4197: It will Hang when upload a lot of 1M files