tests: replace hard-coded network interface name by a real one

rationale: the tests were assuming 'eth0' exists, which is not
the case with e.g. travis-ci