Add test for tracking deleted branch