Add test for getWorkspaceSwitchLinks method.