Add getNetwork and getNetworks tests.