Ensured tests pass in Django 1.3