Added test logic to MainViewModel and bindings to MainWindow