tests: Fix test_net_if