Added a window title and a test util for waiting