Complete tests for NetworkInterface

Previous test was lacking some coverage, and had a hidden error.

Change-Id: I7cd3c98a3b89eef4f84f0e52701ab7f7fccc61f2