Testing Added

Added a basic test class and test for MainWindow