More unit tests around visibility