Upload files testing & improvements

Actually I made it to be uppercase by default so it's the same format the curl wrapper SimpleTest expects. Since we're using constants now capitalization shouldn't be a problem.

This is optional to make it fail in those rare occasions we want to make sure the capitalization is correct (for instance the curl example above).