Nation building effort tests US in Afghanistan