I was wondering about this situation.
Terror tests are done at the start of the turn, before you attempt to rally fleeing troops.
Does this mean that something can fail its terror test at the start of the turn, run away, and then rally in the movement phase of the same turn?