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