jasmine.DesktopFormController Listens to popupWindowReady event and calls _onReady - having a popupWindow instance (from jasmine.specs)