added test cases for teams visibility changes