Oil surge tests market optimism as Iran conflict risks deepen