[BZ-1009348] add test case demonstrating phreak bug when having subnetworks in stream mode