Tested toggleVisibility.