Fixed visibility test