Test for control transfer errors