Added Tests for MenuComponent