protected override void OnStartup(StartupEventArgs e) { ManualTests tests = new ManualTests(); //workaround testing starts in ctor base.OnStartup(e); }