OK, I initially moved them because Django 1.7 was complaining they got defined several times.
Since they are only used in test_serializers, I'll keep them there.