Add test network support to Network.