Fixed tests only Django >= 1.6