add test cases for limit_upstream_tries