Add unit tests for family inet

Change-Id: I5509368b616f1861bd228b6d880b9e6ba531a419