tests added for Network.py