This test doesn't make sure the last call to setVisible is true.