Write tests for the workspace switcher block

Added one more assert.