added a few test cases for network layer