Add unit tests for family inet

Change-Id: Ia9c4ae45196e187c34f989ced8d38cc93a049879