tests: Fix test_pnet