fix django tests