Added some more branching test cases