a test to the function 'Branch'