Added tests for negated branch match