Supreme Court to hear test case over sewage in UK waterways