new unit tests

added some basic unit tests for the MainController and the MainView