Wpf unit test fix to be more like Gtk