In this case, the reddish "item" dropdown is its own separate block of type "variables_get". The nesting is actually part of the toolbox configuration, e.g.
https://github.com/google/blockly/blob/develop/tests/playground.html#L883-L889, and not part of the block definition. Your test block definition is fine; you'll need to either define a separate block to go in the empty spot, or reference one of the built-in blocks, when you
define your toolbox, and then your users will see the test block with its nested block when they open the toolbox, and be able to drag them out as one unit.