The truth is that I'm really not quite sure how to write a proper test for this issue because it has unintended effects on objects that are internal to Django proper. You can't really test for it without testing Django instead of Zinnia because, while the cause lies in Zinnia, the effect is in Django.