add test case for "throw an exception if public IP not found"