add testcase of the next_upstream_tries directive.