dirty fix test fail in Django 1.7