Levin says Gates would face test in Iraq