[PATCH 2/2] user32/tests: Make test_foregroundwindow test more reliable.