Improve message when leaving team or domain
Initial tests