Extracting Ns._process_net_params() and creating unit test