support py3
django 1.6 tests refactoring