Obama says that the "diplomatic path with Iran must be tested"