Added a test to show that #7227 was also fixed by [7778].
Added a test to show that #7227 was also fixed by [7778].

--HG--
extra : convert_revision : svn%3Abcc190cf-cafb-0310-a4f2-bffc1f526a37/django/trunk%407779

Belgabor/django,Belgabor/django,Belgabor/django