adding test for waitForWindowShown