Add tests for Network model.