This is really confusing without braces and I was surprised it worked.

Also, what about writing (or modifying this test) to see that 2 uploads work?