Fix cli window test