Add test for change of visibility