Add test for delete branch action.