r8930: Add the libnet share tests based on code submitted by