Set a MenuBar to the View for tests