Add unit tests for family inet

Change-Id: I588b5f58dc38126be3474d7c8252f477aa0300f9