Refactored network_test and simplified documentation.