Added a sample WPF application and test