added tests for MainWindowView