Adjust tests for uploaded file name randomization.

It was added to Django recently as a security measure.
Confirm support for Django 1.7.

No code changes were necessary.