adding an ip_list test function