Corrected switched Checks in NetworkInterfaceTest