Final check for network part. add test case and comments.