Added exception handling for no NIC test case