test of mid branch removal