Wrote unit tests for MenuMainController.