add new testcases for inetaddress class