Add a unit test for the network plugin.