test for a branch operation