Use Window.CurrentView property instead of sys.argv
Set dummy CurrentView in properties tests
Refresh right pane correctly