WPF Test Application with State Pattern