fix WPF Designer unit test