test main window