updates for test running django 1.5.x