added test for ip address types