Update branch stack tests.

If hardware doesn't support it, skip test.