Revert "Wpf unit test fix to be more like Gtk"

This reverts commit accbc78735a7e7ef7e2bedacef3ce7d003ee93d8.