Add unit tests for internal ports of networkequipments