Visibility utils – Add tests.