Unit testing an NIC