Fixing testVisibility