update test_Backtraking_algorithm