netdev.tests: Add fixes for environment variables

+ minor include fix
netdev.tests: Kill processes properly
Merge pull request #1778 from authmillenon/netdev-test-env-fixes

netdev.tests: Add fixes for environment variables