Test for update_ip_port in database