Main window test