Additional tests from Django 1.7