Move branch folding test to a better location.