added test for win state and restart flow