Add sample_branch_stack test