Mock out window creation in test