Write tests for the workspace switcher block

Seems a bit strange to test this after the method call itself? And why do we actually need to test this method call for `getWorkspaceSwitchLinks()`?