Tests for relations in waterway relations