<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="unittest_main" x="0" y="0">
    <statement name="DO">
      <block type="variables_set" inline="false">
        <field name="VAR">item</field>
        <value name="VALUE">
          <block type="math_number">
            <field name="NUM">123</field>
          </block>
        </value>
        <next>
          <block type="unittest_assertequals" inline="false">
            <field name="MESSAGE">variable</field>
            <value name="ACTUAL">
              <block type="variables_get">
                <field name="VAR">item</field>
              </block>
            </value>
            <value name="EXPECTED">
              <block type="math_number">
                <field name="NUM">123</field>
              </block>
            </value>
            <next>
              <block type="variables_set" inline="false">
                <field name="VAR">if</field>
                <value name="VALUE">
                  <block type="math_number">
                    <field name="NUM">123</field>
                  </block>
                </value>
                <next>
                  <block type="unittest_assertequals" inline="false">
                    <field name="MESSAGE">reserved variable</field>
                    <value name="ACTUAL">
                      <block type="variables_get">
                        <field name="VAR">if</field>
                      </block>
                    </value>
                    <value name="EXPECTED">
                      <block type="math_number">
                        <field name="NUM">123</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
