Write tests for the workspace switcher block

Can you please explain why and how this @internal parameter is being used?