nit: could you use mockAppWindow?