Write the codes for each case separately one by one.
The tests failed for both scenarios.
You can find the videos for each scenario.
ADDING
i) I've tried the only design mode (not the split mode) the result was the same.
ii) The switch can work with little help.
When I set the cursor (click and put a space) before each new command, the process works without problem.
In the example, I left a space right before the command, but you can just leave a space anywhere in the method. The place of the space is not important to reset the cursor position. Everything goes well after the cursor is reset.
By the way entering var something in the Name property of Assignment statement isn't something that we recommend doing - you would see that the Assignment changes to Declaration after entering var something. The Name should be only the name of the thing you are assigning. If you want to type var something use Execute statement instead.
What I did was a bit out of laziness. Instead of defining a variable in advance and assigning it during testing, I preferred the shortest way that would not return an error. You can see a similar thing in my previous reports. (But I learned now a better way is served by RBS for me :))
I noticed the change when I made the second addition. After each gap, the diagram renewed itself and returned from Assignment to Declaration. That's why I appreciated RBS once again. I'm still learning. What are the tests for? :))