We consider a time-harmonic wave problem, appearing for example in water-waves theory, in acoustics or in electromagnetism, in a setting such that the analysis reduces to the study of a 2D waveguide problem with a Neumann boundary condition. The geometry is symmetric with respect to an axis orthogonal to the direction of propagation of waves. Moreover, the waveguide contains one branch of finite length. We analyse the behaviour of the complex scattering coefficients R, T as the length of the branch increases and we show how to design geometries where non reflectivity (R = 0, |T| = 1), perfect reflectivity (|R| = 1, T = 0) or perfect invisibility (R = 0, T = 1) hold. Numerical experiments illustrate the different results.