Added first tests of add and remove nic functions.