Add main window initialization test