Fixed test failing on Django 1.3.5