Dye testing answers connection questions: does this downpipe reach the street? Does the shower connect to the sewer or, illegally, to stormwater? Coloured (typically fluorescein) dye flushed at the fixture shows up wherever that line discharges.
Paired with CCTV, it untangles the improvised pipework decades of renovations leave behind.