Try using EnamlTestAssistant to get a real window...