wpf test code to use plugins architecture