[PATCH 2/2] Add test for RedrawWindow with validate flag.