Make it runnable under django1.6. Only 2 test cases about cache failed!