test branch coverage