Rebased @hyask cmd_pf update test case