Added UserRaceUploadTestCase.

And fixed a couple of minor breakages it revealed.