Beijing — the main buyer of Iranian oil — will provide the biggest test of Washington's determination to follow through on its plan.