take two for supporting django digest email fix + tests
Merge pull request #2711 from dimagi/django-digest-tests

take two for supporting django digest email fix + tests