Unit test for redraw() + display:none