Started adding junit tests for the network package.