Added coverage test for window-flip.