Add unit tests for family inet

Change-Id: I39d1e50a57d3fc854feff5a9abd5d4730aefe138