Add Tempering capability to test_branch.py