Harden test_network_distribution_weighting
test.
#319
Merged
test_network_distribution_weighting
test.
#319