Extracting Ns._process_vdu_params() and creating unit test